<!DOCTYPE html>
<html>
<head>
	<title>提示框</title>
</head>
<body>
<script type="text/javascript">
	
// alert
alert('ok');


// prompt
var y = prompt('输入内容', 'yes');
console.log(y);


// confirm
var t = confirm('你好');
console.log(t);

</script>
</body>
</html>